package com.mashibing.apiboss.service;

import com.mashibing.apiboss.remote.ServiceDriverUserClient;
import com.mashibing.internalcommon.dto.Car;
import com.mashibing.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
/**
 * @author 史慕尧
 */
public class CarService{
    @Autowired
    ServiceDriverUserClient serviceDriverUserClient;
    public ResponseResult addCar(Car car){
        serviceDriverUserClient.car(car);
        return ResponseResult.success();
    }
}
